package datasv.courseQuery_datasv;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import po.StuCouScoRecPO;
import po.TeaCouRecPO;
import resultmessage.CourseQueryRM;
public interface CourseQueryDatasv extends Remote {
		public List<StuCouScoRecPO> getAllStuOfCou(String courseID) throws RemoteException;
		public List<TeaCouRecPO> getAllCouOfTea(String teacherID) throws RemoteException;
		public List<StuCouScoRecPO> getAllCouOfStu(String studentID) throws RemoteException;
		public CourseQueryRM deleteStuOfCou(String courseID, String studentID) throws RemoteException;
		public CourseQueryRM addStuOfCou(String courseID, String studentID) throws RemoteException;
		public CourseQueryRM updateStuOfCou(String courseID, String studentID, int score) throws RemoteException;
		public CourseQueryRM addCouOfTea(String courseID, String teacherID) throws RemoteException;
		public CourseQueryRM deleteCouOfTea(String courseID, String teacherID) throws RemoteException;
		public List<String> getAllCouOfSubModel(String collegeID,String modelID,String subModelID) throws RemoteException;
		
		public List<StuCouScoRecPO> getAllStuOfCou(String courseID,String term)  throws RemoteException;
}
